<?php
/**
 * Created by PhpStorm.
 * User: USER
 * Date: 2017/4/18
 * Time: 14:56
 */

namespace JsonRpc\Services;
use Illuminate\Database\Capsule\Manager as DB;

class BaseService
{
    protected static function beginTransaction(){
        DB::beginTransaction();
    }

    protected static function rollBack(){
        DB::rollBack();
    }

    protected static function commit(){
        DB::commit();
    }
}